<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">
    <div class="row ">
        <div class="col-sm-2">
            <input type="text" class="form-control"  ng-model="id" placeholder="咨询编号"> 
        </div>

        <div class="col-sm-2">
            <input type="text" class="form-control"  ng-model="title" placeholder="咨询标题"> 
        </div>
        
         <div class="col-sm-2 col-sm-offset-6">
            <button class="btn btn-block btn-info" ng-click="search()">查询</button> 
        </div>

    </div>

</div>
</div>
</div>
<!-- searchArea -->
<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="col-md-1 text-center">咨询编号</th>
                    <th class="col-md-2 text-center">咨询标题</th>
                    <th class="col-md-1 text-center">咨询人</th>
                    <th class="col-md-1 text-center">咨询时间</th>
                    <th class="col-md-2 text-center">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="text-center">{{obj.id}}</td>
                    <td class="text-center">{{obj.title}}</td>
                    <td class="text-center">{{obj.quiz_people}}</td>
                    <td class="text-center">{{obj.create_time}}</td>
                    <td class="text-center">
                        <a ng-click="edit(obj)" ng-show="obj.reply_state == '1'" class="btn btn-success btn-xs">回复</a> 
                        <a ng-click="upups(obj.id)" ng-show="obj.reply_state == '1'" class="btn btn-success btn-xs">处理完成</a> 
                        <a ng-click="upup(obj.id)" class="btn btn-warning btn-xs"  ng-show="obj.reply_state == '0'">接受处理</a>                             
                        <a ng-click="shield(obj.id)" class="btn btn-success btn-xs" ng-show="obj.is_open == '0' && obj.reply_state == '2'">公开咨询</a>
                        <a ng-click="recovery(obj.id)" class="btn btn-danger btn-xs" ng-show="obj.is_open == '1' && obj.reply_state == '2'">关闭咨询</a>
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="text-right">
             <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="getlist()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>
    </div>
</div>

</div>
        
